import './styles/index.scss'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import pinia from './stores'
import devtoolsPlugin from './devtools-plugin'

// 注册自定义 DevTools 插件（只在开发环境中启用）
if (import.meta.env.NODE_ENV === 'development') {
  devtoolsPlugin
}

const app = createApp(App)
app.use(router)
app.use(pinia)
app.mount('#app')
